package com.yilin.platform.base_core.tools.cmbc.entity.reconciliationOnline;


import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.List;

/*. 明细对账单查询(QryDebtDetialList)*/
@XmlRootElement(name ="xDataBody" )
public class QryDebtDetialList {
    private  Integer allNum;//
    private List<MapDet> mapDetList;

    public Integer getAllNum() {
        return allNum;
    }

    public void setAllNum(Integer allNum) {
        this.allNum = allNum;
    }

    public List<MapDet> getMapDetList() {
        return mapDetList;
    }
    @XmlElementWrapper(name = "List")
    @XmlElement(name = "Map")
    public void setMapDetList(List<MapDet> mapDetList) {
        this.mapDetList = mapDetList;
    }
}
class MapDet{
    private  String transDate;//交易日期
    private  String transAmt;//交易金额
    private  String loanFlag;//借贷标志
    private  String balance;//余额
    private  String payeeAcNo;//对手方账号
    private  String payeeName;//对手方名称
    private  String payeeOpBank;//对手方开户信息
    private  String remark;//摘要
    private  String extFields1;//备用字段（未启用）
    private  String extFields2;//
    private  String extFields3;//

    public String getTransDate() {
        return transDate;
    }

    public void setTransDate(String transDate) {
        this.transDate = transDate;
    }

    public String getTransAmt() {
        return transAmt;
    }

    public void setTransAmt(String transAmt) {
        this.transAmt = transAmt;
    }

    public String getLoanFlag() {
        return loanFlag;
    }

    public void setLoanFlag(String loanFlag) {
        if(loanFlag.equals("0")){
            this.loanFlag = "借/收";
        }else if(loanFlag.equals("1")){
            this.loanFlag = "贷/付";
        }else{
            this.loanFlag = loanFlag;
        }
    }

    public String getBalance() {
        return balance;
    }

    public void setBalance(String balance) {
        this.balance = balance;
    }

    public String getPayeeAcNo() {
        return payeeAcNo;
    }

    public void setPayeeAcNo(String payeeAcNo) {
        this.payeeAcNo = payeeAcNo;
    }

    public String getPayeeName() {
        return payeeName;
    }

    public void setPayeeName(String payeeName) {
        this.payeeName = payeeName;
    }

    public String getPayeeOpBank() {
        return payeeOpBank;
    }

    public void setPayeeOpBank(String payeeOpBank) {
        this.payeeOpBank = payeeOpBank;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getExtFields1() {
        return extFields1;
    }

    public void setExtFields1(String extFields1) {
        this.extFields1 = extFields1;
    }

    public String getExtFields2() {
        return extFields2;
    }

    public void setExtFields2(String extFields2) {
        this.extFields2 = extFields2;
    }

    public String getExtFields3() {
        return extFields3;
    }

    public void setExtFields3(String extFields3) {
        this.extFields3 = extFields3;
    }
}
